home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Visual Database / Visual BASIC 5.0 (Ent. Edition) / Vb5ent Extractor.EXE / VB / SAMPLES / CLISRV / BOOKSALE / BOOKSALE.TXT < prev    next >
Encoding:
Text File  |  1996-11-28  |  2.1 KB  |  27 lines

  1. BookSale Sample Application
  2.  
  3. This project demonstrates the use of an ActiveX component to encapsulate the logic of business policies 
  4. and rules and to provide "black box" services to an external User Interface component.  The client project 
  5. is dedicated to delivering a clear and intuitive user interface for the user to select control options and view 
  6. processing results.   The client project cares about how the user works and how they use the applications 
  7. results, but it knows nothing about the business or operational rules of the application.  The server project 
  8. is an ActiveX component dedicated to encapsulating business and data access rules into "sanctioned" 
  9. services that client components use to find the information they need.  The server component has no idea 
  10. how the user options are selected or how the results are presented to the user.  This lack of specific user 
  11. knowledge helps keep the server componentÆs functionality general... and as a result should increases its 
  12. reusability potential (in a real project) for other applications.  It also uses Class modules to structure the 
  13. logic of its business and data access rules in a manner that aids development, debugging, readability, 
  14. maintainability, and source code reusability.
  15.  
  16. The ActiveX component can be run on the same machine as the client component, (which can be a 
  17. significant aid in the development and debugging phases of a project), or it can be run on a remote machine 
  18. to benefit from the distributed processing power and multi-user access features of a shared network server.  
  19. The component does not need to be recompiled or changed in any way to support this location 
  20. independence.
  21.  
  22. Note: The ActiveX server component in this project uses a visible form purely for demo/status purposes. 
  23. There is no functional need for the component to have any UI, though state information presented through 
  24. a UI can help with debugging or runtime monitoring needs.  (State monitoring requirements could also be 
  25. addressed by providing a status method on the server that could be queried by a monitor application.)
  26.  
  27.